﻿using Caliburn.Micro;
namespace Wulong.Phone.Qiushi.ViewModels
{
    public class SplashViewModel : Screen
    {
        private readonly INavigationService _navigation;
        public SplashViewModel(
            INavigationService navigation)
        {
            _navigation = navigation;
        }

        protected override void OnViewReady(object view)
        {
            base.OnViewReady(view);
            _navigation.UriFor<MainViewModel>()
                .Navigate();
        }
    }
}
